/*
 * Helpers.h
 *
 *  Created on: Jan 14, 2011
 *      Author: kmueller
 */

#ifndef HELPERS_H_
#define HELPERS_H_

#include <QGeoCoordinate>

class LabeledCoordinate : public QtMobility::QGeoCoordinate {
//	Q_OBJECT

public:
	LabeledCoordinate();
	LabeledCoordinate(const QString& name, const QtMobility::QGeoCoordinate& coord);
	LabeledCoordinate(const LabeledCoordinate& other);
	QString getLabel() const;
	void setLabel(const QString& label);
	void setCoordinate(const QtMobility::QGeoCoordinate& coord);
	bool operator==(const LabeledCoordinate& compare) const;

private:
	QString label;
};

#endif /* HELPERS_H_ */
